package models;
 
import java.util.*;
import javax.persistence.*;
 
import play.db.jpa.*;
 
@Entity
public class Author extends Model {
 
    public String email;
    public String password;
    public String name;
    public String avatar;
    @Lob
    public String info;
 //   public Vector <Integer> notes ;
    @OneToMany
    //public Integer note_id;
    public Note note;
    
    public Author(String email, String password, String name) {
        this.email = email;
        this.password = password;
        this.name =name;
    }
}